﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HidesaburoDotNET.Core.Detecctors
{
    public class Chitoitsu : YakuDetector
    {
        public override Yaku CheckYaku(AgariTehai agariTehai)
        {
            if (agariTehai.Mentsu.Count == 7) return new Yaku(2, "七対子");
            return new Yaku();
        }

    }
}
